News

Log In Sponsors
Partner Sites





mailing list and cron



now i want to make a mailing list .. i want to send a mail up to 2000 user. but the server only allow sending 200 mail at once so i want to make a cron job that make the following task. 1- send mail to 200 user 2- i have a database that have a filed name e-mail that contains mail address and flags field that contains zero or one zero -> not sent yet one -> e-mail sent 3- change the flag in the database from zero to one 4- after an hour the cron will run again and send the mail to the fields of database that have the flag zero.. and i will make the cron run until there is no flags zero so that all mails are sent.. [b:1cm42qmy]my problem is [/b:1cm42qmy]that i dont know how to work with cron job from PHP i want to know how to run cron Job from php?? [b:1cm42qmy]NOTE THAT: [/b:1cm42qmy]when the user press send button it will create the cron job for sending the 2000 mail and run every hour to send 200 mail per time .. can any one help me plz

Click here to read the whole forum topic